package com.glsc.ngateway.common.api.flowable.dto.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Map;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class ParamRollbackDto implements Serializable {

//    {
//        "taskId":"1b66789b-106e-11ec-b89a-000c299a9069",
//            "comment":"",
//            "content":"{\"title\":\"中文名称标题\",\"money\":\"35000000\"}",
//            "sysid":"am"
//    }

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "评论附言")
    protected DoTaskCommentDto commentDto;

    @ApiModelProperty(value = "评论附言")
    private String comment;

    //如果是发起人撤回这个字段必传
    @ApiModelProperty(value = "userId")
    private String userId;

    @ApiModelProperty(value = "流程表单内容")
    private String content;

    @ApiModelProperty(value = "第三方系统名称")
    private String sysid;

    @ApiModelProperty(value = "流程标题")
    private String title;

    @ApiModelProperty(value = "回退目标节点")
    private String targetTask;

    @ApiModelProperty(value = "流程节点办理人")
    private Map<String, String> taskAssignee;

    @ApiModelProperty(value = "条件判断变量")
    private Map<String, String> conditionalVariable;

}
